package com.bjpowernode.dao;

import com.bjpowernode.bean.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductDao {
    Double selectTurnover(String format);

    List<Product> selectAllProducts();

    List<Product> selectProductsByName(String name);

    void insertProduct(Product product);
}
